import http from '@/common/http'

export const queryAll = (params) => {
  const url = `edit/queryAll`
  return http.post(url,
    params
  )
}

export const addEdit = (params) => {
  const url = `edit`
  return http.post(url,
    params
  )
}

export const uptatEdit = (params) => {
  const url = `edit/update`
  return http.post(url,
    params
  )
}

export const deteleEdit = (params) => {
  const url = `edit/${params}`
  return http.delete(url)
}
